import {Category} from "../entity/category";
/**
 * Created by Tinyang on 2016/8/3.
 */

export class CategoryService {
    getAll():Category[] {
        var categoryList = [{
            name: "ELETRONICS", children: [{name: "Cameras", children: null},
                {name: "Computers,Tablets&laptop", children: null},
                {name: "Mobile Phone", children: null},
                {name: "Sound&Vision", children: null}]
        },
            {
                name: "CLOTHES", children: [{name: "Women's Clothing", children: null},
                {name: "Women's Shoes", children: null},
                {name: "Women's Hand Bags", children: null},
                {name: "Men's Clothing", children: null},
                {name: "Men's Shoes", children: null},
                {name: "Kids Clothing", children: null},
                {name: "Kids Shoes", children: null}]
            },
            {
                name: "FOOD AND BEVERAGES", children: null

            }, {
                name: "HEALTH&BEAUTY", children: null
            }, {
                name: "SPORTS&LEISURE", children: null
            }, {
                name: "BOOKS&ENTERTAINMENTS",children:null
            }];

        return categoryList;
    }
}